<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Vue.js</title>
    <script src="js/vue.js"></script>
</head>
<body>
    <h1>初始化多个Vue实例化对象</h1>
    <div id="app-one">
        <h1>{{title}}</h1>
        <h2>{{greet}}</h2>
    </div>
    <div id="app-two">
        <h1>{{title}}</h1>
        <h2>{{greet}}</h2>
        <button @click="changeTitle">Modify One Title</button>
    </div>

    <script src="js/ch16.js"></script>
</body>
</html>